VSE snap a marker to the playhead?
You can set the Frame of your selected Marker to the current Frame via Python:

import bpy

s = bpy.data.scenes['Scene']

for m in s.timeline_markers:
    if m.select == True:
        m.frame = s.frame_current