A Roku device can be used with just about any TV that has an HDMI input. It doesn't link with any particular TV or anything. (Well, there is the possibility of the remote controlling the TV power and volume, but that's easy to change, if you have one of those model Roku devices.)
DBDukes https://www.dbdukes.com/Roku Ultra (4660) Roku Streambar (9102) Roku Streaming Stick+ (3810)
If you are asking if a used Roku device that you have acquired can be installed to your TV, the answer is yes, as long as the TV has an HDMI port you can use.
Did you receive the remote for the device? You won't be able to set it up initially without a compatible remote. If you need a remote, post the Roku model and someone will be able to guide you as to which remote you need.
Roku Streaming Stick +, 3810X, Ser YH0059427035, wifi - Samsung UN55ES6100
Roku Streaming Stick, 3600X, Ser 5S56D8240827, wifi - JVC EM37T