You can, and you should not use the blade. Levering a cap with a blade tip or edge is how tips break and edges chip. If your knife has a dedicated bottle opener, a bail, or a squared choil, use that. Otherwise use the back of the handle or find an actual opener.
Prying applies lateral force to steel that is hardened to resist cutting, not bending. The tip is the thinnest, most fragile part of any knife and it is exactly what people put under a cap.
A chipped edge or a snapped tip from a bottle is one of the most common self-inflicted knife injuries, to the knife rather than the person.
Many multi-tools and some traditional patterns include a proper bottle opener. Some folders have a squared choil or a bail that works as one. Any of those is designed for the load.
The spine of a closed folder against the cap and a solid edge also works and stresses nothing important.
Use the spine, never the edge or tip, and apply force straight up rather than twisting. Accept that you are using the tool wrong and be gentle about it.
See what a multi-tool is used for if you want one implement that genuinely covers this.