Oh, spicy. "Illegal" should be considered in terms of the level of punishment, otherwise it's sort of empty question.
It should also be considered in terms of whether this introduces new lever that the government can pull for some other thing later (i.e. it could later become illegal to generate a deepfake video on your computer complaining about Joe Biden).