(i.e. you need to know the package name of the app you want to get rid off, then you can make use of the multi-user feature to make it unavailable to your “primary user” even if no other users exist). If the term “ADB” (standing for “Android Debug Bridge”) is new to you, you can find a quick intro and overview e.g. in one of my articles: ADB for end-users.
PS: alternatively to pm uninstall (e.g. in case it doesn’t work for you), there’s also pm disable (which often works even if the “Disable” button on the app is grayed out in settings).