Not at all. If you wish to bring your family here in USA while you are in training. They can have an M2 visa.
And our Airline Pilot Program for international students takes you through all the training necessary to become a professional pilot under FAA standards. For international students, tuition is $73,063.00, and it takes approximately 7 months to complete the training. https://epicflightacademy.com/international-pilot-pathway/