No it's not legal but I've never heard of anyone getting arrested for buying seeds online. All I've heard of happening is a letter from customs, perhaps they'll ask you to claim the package (you say no) and that's that.

Obviously don't order seeds to your grow location.