Adding fiducial marks and determining RAS coordinates

I think what you are wanting is exactly what the qSlicerSimpleMarkupsWidget provides.

simple_markups = slicer.qSlicerSimpleMarkupsWidget()
simple_markups.setMRMLScene(slicer.mrmlScene)

image

Or the Markups module
image