You can do a lot of tail chasing trying to hunt down a vibration; it's not intuitive and even skilled pros can get this wrong with the best of intentions. Once you exhaust the usual suspects, you can waste a lot of time and money, there are folks who will come in and sensor the engine and identify the exact source. In the long run that may be cheaper than a lot of trial and error.
Here's an example, when a vibration is present, a lot of folks will fixate on alignment. In fact, because misalignment is constant, i.e. it induces a constant bow in the shaft, even if it can't be seen, it rarely is the source of vibration. While it's important to correctly align the engine and shaft (those are two separate types of alignment), doing so will rarely eliminate the vibration issue.
Use a dial indicator to make certain the shaft is centered in the coupling/coupling is centered on output flange. You can also use a dial indicator to make sure the shaft isn't bent.
An incorrectly installed prop, one that is binding on the key, is a common source of vibration.
Prop condition and blade alignment can really only be checked by a prop shop, preferably one using MRI or PropScan.
Motor mounts are frequently the source of vibration, if they are loaded unevenly, especially of the engine is teetering on two mounts diagonally, i.e. port front and stbd rear. You can still have proper shaft flange alignment with this scenario.
More here...
Engine alignment
https://stevedmarineconsulting.com/the-ins-and-outs-of-engine-and-shaft-alignment/
Shaft alignment
https://stevedmarineconsulting.com/the-ins-and-outs-of-shaft-alignment-part-ii/
Engine alignment step by step
https://stevedmarineconsulting.com/wp-content/uploads/2021/04/TaskSheet190-EngineAlignment-05.pdf
Couplings
https://stevedmarineconsulting.com/wp-content/uploads/2019/06/ShaftCouplings179FINAL-PBB.pdf
Prop installation
https://stevedmarineconsulting.com/propeller-installation/