Are you talking about back feeding? With a 50A RV, there are 2 separate legs like in a house so it may or may not provide power to the charger. With a 30A RV, it would.
But in either case, why would you? You would have to use a "suicide cord" and that would be quite dangerous,
Unless I'm missing something...