Modern vehicles don't need to warm up before driving, but it's legal if you want a warm seat before driving.
"NOTE: If the outside temperature is −13°F (−25°C) or less, the Li-ion battery may freeze, and it cannot be charged or provide power to run the vehicle. Move the vehicle to a warm location," AAA notes ...