Quaternion in fixed wing with Mavros and PX4

Hello everyone,
I am working on a project in which I am trying to give position setpoints through Mavros by using Offboard mode in a C++ code. I wonder if I can change yaw roll pitch values by setting quaternion values through a necessary topic while the fixed wing goes to the specified setpoint. I really appreciate if someone could help me.