Lots of folks want to take their ebikes with them when traveling, and there are a number of racks out there. I can’t recommend any of them from experience, but here are a few racks I see mentioned frequently online. The ones built specifically for ebikes can be a bit pricey, but are elegant. The ones built for dirt bikes are sturdier, but maybe a bit clunkier, but definately cheaper.
The most expensive is the Thule at $900
Thule EasyFold XT 2: https://www.amazon.com/hule-Easyfold-Hitch-Mount-Carrier/dp/B07954CY49/
1Up is a brand many folks seem to like it at $700
Super Duty Double
The Hollywood rack is often most recommended on many of the ebike groups on FB, at $500
Hollywood Racks Sport Rider 2 bike https://www.amazon.com/Hollywood-Racks-Sport-Rider-
Here is a typical dirt bike rack that will easily carry two ebikes for $400.
Rage Powersports Black Widow AMC-600-2 https://www.amazon.com/Black-Widow-AMC-600-2-Aluminum-Motorcycle/dp/B004HL5SF0/