Yes, you can use the "Move Mouse To Position" action and set the position relative to the active window:
With x 0 y 0 relative to the active window center, it would center the mouse in the window.