Not at all. Sci-fi might be silvers and cool blues. Fantasy might be warm browns and golds and greens. Historical fiction - well, first pick your era. It’s pretty common for designers to build color palettes thematically like this. There are plenty of color palette design tools. Adobe’s got one.