LVM can use devices as backing store for physical volumes but not directories.
tmpfs can be mounted at any mountpoint but mountpoints are always directories.
How can the two be reconciled?
I’m aware of the roundabout solution of creating a file on the tmpfs first, binding it to a loop device, and then using that as the store. However that implies using a resource (loop devs) that is not namespaced and thus shared across containers. When isolation is a concern, this approach is not an option.
What other options are there on a sufficiently recent Linux system?