Towing a vehicle with an automatic transmission can be done but you should not tow the vehicle longer than 25 miles with the vehicle in neutral.
Towing a vehicle with an automatic transmission in neutral can damage the automatic transmission if towed more than 25 miles.
If you need to tow the vehicle longer than 25 miles you should use a tow dolly or trailer or use a tow truck to allow the drive wheels or wheels connected to the transmission or driveshaft off the ground.
If it's a rear wheel drive vehicle it's best to drop the driveshaft when towing it longer than 25 miles.