See this blog post from Randolf West: SQL Server 2019 on Apple Silicon redux: it actually works - Born SQL The gist you can do it, but it is not to recommend.
See also https://learn.microsoft.com/en-us/answers/questions/1298316/sql-server-2022-database-engine-service wherer Randolf has conversation with another user who tried to install SQL Server on Mac. (You may have wade through some discussion between me and the OP until Randolf appears on the scene.