Actually, a much better way of doing this is following the emoji with the <hairsp>
(eg) code. It does the same job, but is invisible and less restrictive. This way you can have a big emoji and text on the same line.
Cake
π<hairsp> Cake
Cake