You can buy a cheap polishing machine, a spindle type.
A Guild is about £40 a Das6pro+ £130.
Getting scratches out of paint is a two stage process, to remove those swirled scratches. The second part to refine those result to get blemish free clear. Paint on bikes plus clear coat is thin...