I have made most things from pallets but not a hive all you have to do is work out a way that you are possible to side jion the timbers to the required width
I see no reason why pallet wood cnnot be used but it might well be a bit of a faff to get everything square and straight.
I use odd bits of timber and plywood for things - a labour of love really as it can be quite time-consuming - gets me away from X factor and junk TV.