Yes, you can.
One thing to understand is the amount of heat you'll get. I use small 1500 watt tower electric heaters quite a bit. 1500 watts is about the limit on 120V circuit. They produce a little over 5000 btu of heat. Your Oasis electric heater is also a 1500 watt heater and will produce the same amount of heat. Some larger units may have two electric heaters in them so will produce twice the heat.
Your Oasis on diesel will produce somewhere in the area of 50,000 to 55,000 btu's of heat. Not at all in the same class when it comes to producing heat.
2019 Fleetwood Discovery LXE 40M w/2021 Equinox