No, you can't use a typical thermostat in an RV. Most of them are designed to use 24volt AC power, and RV's have no such power source. It is possible to use a thermostat that is battery- powered.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.