Yes. Everything you do in the Lightsail console is backed by a publicly available API. Learn how to install and use the Lightsail CLI and API.