Question on fusion and space application.

I'm learning the basics of aerospace and fusion technology and had a question about fusion reactors in space. Could a dual-purpose fusion reactor, functioning as both a propulsion system and a power supply for spacecraft, be an option for deep-space exploration? What are the known technical or engineering challenges of maintaining a stable fusion reaction in a space environment? Any insights or information would be greatly appreciated. *I realized I sound like a bot. I am not, just overly formal.*