There could be an issue if you are working on a J visa. That only allows the training and conditions specified and you can't have an additional visa to cover the flight training.
An H1B or similar wouldn't restrict you.
Upgrading to a full PPL before you leave would allow you to get a US certificate under FAR 61.75 without any Visa conditions or TSA approval.