Is it even necessary to remove the bolt head?

Seeing some disassembly videos, I could imagine not even having to remove the head let alone disassemble the bolt altogether. Can I simply drift the retaining pin out while the bolt is still fully assembled?

Thanks,
Paul