The main issue is capacity. Poo takes a long time to compost (months or years) and you need somewhere to store it during that time. That's not too practical in a vehicle. Maybe in a huge DP.
Energy use can be zero (of course), but a built in fan and/or heater will speed up decomposition.