That's an interesting question. I know that making a physical fake ID is illegal, so I don't know if that law could encompass you creating a fake digital ID for nefarious purposes.
Obviously, modifying it for comedic or privacy reasons would be legal so who knows.
Here is someone else asking...