Yes, it is!
LaTeX provides several standard
memoir, and many more custom ones, depending on the final format one wants to achieve.
On Overleaf many templates are shared, and most of these are based on the above documentclasses. Several "book" templates are made with
report documentclass and additional packages to implement any tipographic rule.
If you search on Overleaf or other networks (this is one), you will find custom documentclasses and templates oriented on text, equations and math, but also tables, charts and diagrams.
It is important that you find one template to use (or to edit before use) in order to implement the specifications that you are given for your book or publication, starting from the most basic geometries (page dimensions, margins, etc.) to the very detail if necessary.
To handle respectively references and diagrams, packages such as
hyperref and TikZ may be useful, if you have time to develop.
Anyway, remember that LaTeX remains a markup language, so try to opt for an empty box or template whose code you can handle. For example, after years, even I am still trained for hi-level LaTeX language but I never got very skilled in the lower-level TeX language; for this reason I still skip the templates with too many
@s that would exceed my technical knowledge. Stay focused on contents and choose a template to most simplifies your typing.
Here is another Amazon KDP oriented template form Overeaf.