It's been reported that you can have up to 20 devices linked to the same Roku account. It's the number of devices that are simultaneously in use that matters. If you're looking to use all 5 devices at the same time then you better have a high bandwidth Internet connection and it wouldn't matter if 3 were Rokus and 2 were some other device.
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.