Yes, that works as well @Mechanought , thank you!
Be aware though, that Snapping only aligns the Z- Axes of the plank and wall, so that might lead to unwanted resulting orientations (that is why the Rotation of the planks Origin you did, is so important).