In theory yes, you have to remember though that you have to enforce parents yourself. If you suspect infringement you will have to sue and carry the lawyer costs, at least until a court judges in your favor. This is off course besides the costs of applying for the parent itself. Your patent might also not be valid in all countries.
In practice the chances of a private person doing this and winning against a multi-billion dollar corporation without going bankrupt are negligible.
Those are fun, but they don’t work for most sites anymore since pretty much every site has started using https and browsers automatically upgrade to https if it’s available.