You are correct, I've seen photos of it taking place in the Philippines. It's unbiblical, but there are some who do it within the catholic church there.
This is not a practice condoned by the Catholic Church. It was practiced in the Middle Ages, but was banned in 1261 by Pope Alexander IV. Another Papal Bull by Pope Clement in 1349 condemned flagellants as heretics.
The self-flagellation and crucifixtions of the Phillipines are not condoned by the Church. There are still some bizzare sects (such as Opus Dei and a couple of isolated monastaries) where this practice continues - but it is certainly no part of the teachings of the Catholic Church.
What about the bizzare Fundamental Protestants that still practice the weird snake handling? Should we pin that on the Baptist Church or on the Church of Christ??