Unfortunately not, the build must be re-uploaded with the correct distribution method (TestFlight & App Store).
An alternative would be to use Xcode Cloud if you have this set up.
Topic:
App Store Distribution & Marketing
SubTopic:
TestFlight
Tags: