No, Apple does not have a built-in Mac cleaner. There’s no need for an app like this as macOS is designed not to accumulate a lot of junk files.
However, even though macOS isn’t too prone to getting cluttered up with assorted system junk, it is always a good idea to use an app like this at least once per month or so.