you can use the the enhanched input to trigger an onclicked event by binding the two together, and cursor movement to gamepad? what do you mean like a thumbstick to act as mouse cursor?
here is a quick link that can help with using enhanced user input The “pressed key” condition in the Enhanced input system - Programming & Scripting / Blueprint - Epic Developer Community Forums (unrealengine.com)