Are fanmade pokemon games legal to download and play?

Any game that imports commercial game art without permission or licence is illegal. If a derivative work is noncommercial the company may not sue unless it is so great and popular as to divert earnings of their game.