In a word, no. Roller trainers are basically bike treadmills, so the only risk to your bike is you falling off the trainer. Wheel-on and direct-drive trainers put different forces on your frame than riding on the road or trail. This has caused concern about its effect on bike frames.
In fact, Specialized used to specifically say that its carbon bikes were not designed for use with a trainer. The company has changed its stance since then, citing new testing protocols. The most severe issue we’ve seen is wear on our rear tire after a winter of riding inside.