A super hitch with a truss extender thingy is the best solution, for probably the most money.
On the flip side, a Miata on a little trailer is not really a substantial load depending on the trailer and car placement for tongue weight.
Without knowing the overhang of the camper and depth behind the bumper, type of trailer, trailer tongue length, tongue weight, if you own the trailer already or are going to buy one, etc it is hard to say what the bet way to go is.
Some options are, from cheap to expensive, sort of.........
Throw a hitch extension on it and roll. I put a lot of rough miles on my truck with a 24" ext for my sled trailer, 2500lbs and not much tongue weight, no problems. Depends what the tongue weight is and if you can get it acceptable by moving the car on the trailer.
If you own the trailer and have enough vertical room for break over angle, get the tongue extended for $2-300.
If you need a trailer, get a dolly and flat tow the car. No tongue weight, will work fine with a extension. Dollies are not conducive to backing around corners though. This would be my pref if I had to buy a trailer still and didn't want the hassle of installing another hitch.
Put a tow bar on the car and tow it 4 down with a hitch extension.
Buy a Superhitch.
Note if it's a 3rd gen Ram you need to lift the truck bed to remove the OE hitch from the truck.