See how to create an Availability Group without a Windows Cluster. Read the post with code here: https://www.ryanjadams.com/ReadScaleAG
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.