Yes, typically they have a box for cyclists ahead of the traffic into which they are permitted to filter, making overtaking cyclists before lights a somewhat pointless endeavour
I have no idea whether the cyclist was being a twat, but OP's actions sound like a case of MGIF