If your LXD REST API port is not accessible remotely, then you will be able to use the bolt transport remotely.
Here are all the transport options Transport configuration options
This example inventory file uses both SSH and LXD transports
If you’re just starting out, just do regular remote execution: bolt command run