You can and I prefer to when possible but know your limits.
First, unless your blocks are plastic or alloy, it doesn't really buy you much.
Second, don't use no name, no spec rivets. Industrial or Aerospace Rivets are built to a spec. No Name could be recycled beer cans. The ones you buy at a Marine Store normally come from a distributor like Hanson. Hanson has specs on their website.
Know what strength you need.
The per rivet rated tensile/shear strengths for 3/16 pop rivets installed per instructions are:
100/100 Lbs no name this was from an email warning you to beware of counterfeit parts
700/500 lbs normal rivets, the mandrel has a ball on the end
1090/540 lbs High Strength This is from Cherry rivets wire draw
2150/1500 lbs this is a normal SS/SS normal rivet just for reference
I normally derate the numbers above by 2-3 to account for fixing something on the beach after drinking.
So, a WAG on positive mast rotation is 250 lbs. It's a 2:1 from the block to the mast so 125 lbs to the block. The block has 2 rivets in shear. Normal rivets should hold 160 lbs each or 320 lbs.
If you can't guess what your load is, at least meet the rating of your block. It's also a good idea to put a little loop of line that will break at 300-400 lbs and protect your mast when you forget to release before you gybe.
NEVER NEVER NEVER put Aluminum Rivets in Carbon.but, if you do please publish the pictures