If you reset the cursor to the centre of the screen, or use “relative mode” (on those operating systems that support it), yes.
base.win.movePointer(0, x, y)
Where “x” and “y” are the desired points–in this case, the centre of the window, i.e. half the width and height of the window, respectively. The width and height can be had via calling “getXSize()” and “getYSize()” on base.win.
(I’m presuming that you’re just using the default window, hence “base.win”; adjust for your case if that’s not accurate!)
“Relative mode” is described in the “mouse support” page to which I linked above.
(I think that support for an OS-independent “relative mode” is in the works for a later version of the engine, but not available yet, if I recall correctly.)
In fact, I see that there’s a useful-looking example on that same “mouse support” page, under the heading “Confined mouse mode”.