Hi there, based on the Mac model that you provided, I'm sorry to tell you that it is scarcely possible to perform data recovery work because all Macs released in 2015 and later have their hard drives soldered onto the LogicBoard. The last hope is to contact the Apple team or AASP for professional services.
On top of that, a regular backup is indispensable for you can never foretell what time your hard drive is going to fail. Time Machine is a wonderful utility for you to complete the backup work.
Take care~