I made 40 years ago hive bodies from roughcut lumber. I use them only in summer and as honey boxes.
They are at same condition as 40 years ago.
As brood boxes I use styrofoam. Even wood would be free, styrof. is woth using.
Uninsulated hivebodies consume 50% more winter food and spring build up is slow.
However the surface of lumber should be smooth = planed . It saves paint and is easy to keep clean.
Look at corners how I made boxes from 40 mm x 30 mm billets. Billets are connected with rough galvanized nails. Construction tak takes too much clue.