I had previously said that this gameplay mechanic was not used in the DonPachi series. I was playing through the series again and actually tried ramming into the bosses. I died. It never occurred to me that whenever somebody in a gameplay video was touching the bosses, they were doing so after using a bomb or hyper and had a brief period of invincibility.