It’s legal to watch from the websites but illegal to create them unless you get permission from the creator of the anime to upload their anime onto the website platform. To do this you could pay them which most people do. But it is still completely legal to watch the anime on any platform.😅