Is there a slight difference in meaning if I leave the 'przez' out?
IMO, „przez” is optional here.
Could you say something like, "Pracowałem od sześć godzin temu"?
No. That's mostly because Present Perfect translates poorly into Polish, it changes to simple past tense.
Translated back to English, that would say "I worked from 6 hours ago."