The short answer is No, nothing to stop you. The wisdom of doing so is a different question, which others have already addressed.
Is your present heater gas/electric, or gas only? You could eliminate propane by installing the same style tank heater that has 120v electric heat, but you would probably still want a separate power supply for it. The 30A/120v main power to your RV simply isn't enough to do everything via electric power.
The tankless heater makers like to tout endless hot water, but reports from those who install them in RVs usually say they fall well short of that. But you are talking about a 240v, high amp model, so it should perform better.
I also wonder if you have a problem with your existing heater. A 6 gallon heater should be able to deliver 3-4 minutes of 115 degree water to the shower head. It might, though, begin to cool off a bit toward the end of that period. Depending on the age of your heater, it will have either a 130 or 140 degree thermostat. A few models (e.g. the Atwood XT series) actually heat water to 160, but then blend that with cold water so that the output is still about 140, but that only increases the quantity of the delivered hot water. But since your goal is to eliminate propane altogether, this may be moot.