No, GPS spoofing is not illegal but fake GPS can be detected and authorities can take strict action on it if it was done with malicious intent.