Yes, you can use a tent heater that is specifically designed for use in a tent. It should be safe to light in a confined space as long as you adhere to the user manual. That said, avoid gas heaters unless your tent is well ventilated. Also, remember to keep your heater away from flammable surfaces like sleeping bags and tent walls at all times.