Opening or crushing a hard capsule or soft capsule is generally not recommended.
The galenic form has been designed to allow release of the active ingredients at the right time and in the right place in the body. Modifying it could therefore reduce its bioavailability.
As for the tablets, this does not affect their quality so you can perfectly do it.