Morse code pocket transceiver?

Would it be possible to shrink an entire CW transceiver (complete with keyer, antenna, and power supply) into something that would fit into something pocket-sized, like an Altoids tin? I have had some ideas, like make it able u open and unfold, with the keyer on the inside of the lid and an antenna that folds out when it's open and things like that. But overall, is it possible to fit all of that into something the size of an Altoids tin? And if so, on a scale of 1 to 10 (1 being easiest) how hard would it be? Would it be overly difficult for someone completely new to homebrewing?