<aside> ☠️ Since the newly created mesh is made of just edges, it looks identical to your lattice. You can identify by name: ‘Lattice_2_Edges’
</aside>
If you enjoy rigging with lattices, you can convert a lattice to mesh object by using ‘Lattice-2-Edges’.
This function appears on the right click menu when a lattice is active in Object mode.
A newly created mesh composed of just edges will be created and you will be put into Edit mode - ready to convert edges to bones.
Selecting a lattice
Edges converted to bones