Script to replicate edits in lightroom

hello to programmers and everyone,
I’ve been using Lightroom for a long, almost ten years editing photos manually and I’d like to do it better and easier
Please can someone share with me some tips to automate the editing in Lightroom?
I’m thinking of some script to remove the background on a large volume of photos.

Any contribution will be very appreciated
regards

With Lightroom I find it tough, with Photoshop you could solve it by creating a specific action.