Yes. Only sites that are using Topics or have at least one embedded service that uses the Topics API, will be included in topics generation. Sites can also specifically opt-out using Permission Policy, an existing browser mechanism that is used to control features like camera access.
If a website had opted out of FLoC, the Topics API will respect that decision.