Yep. You need an amazon account but that’s easy enough to set up and free.
Then you write your content. You have to convert it to HTML format. Now there are utilities to do this or you can do it youself. It’s very basic HTML but I advise using CSS to ensure everything looks the same. You can submit the content to amazon in a number of formats but you get no control over it then.
Once you have the content, you’re ready to go. Fill in a few questions, upload the content, preview it, set the price. You then have to wait about 24 hours while amazon do something to it. Not sure what. Then it’s up and you can find it by searching amazon normally.
you get a login to their publishing page through your amazon account and you can get reports on how many you’ve sold and how rich you are. Pluis there’s a forum with loads of useful advice.
In the UK you typically make 35% on each sale and can go in at around 75p per book for your first sale.
start here
https://kdp.amazon.com/self-publishing/signin