FWIW, I manage my contacts on my Linux Laptop using the Evolution app. Its free and does a pretty good job. Otherwise, use your favorite app. Just ensure you can export a .vcf file with your contacts.
Then I export the contacts to a virtual contacts file (.vcf) on the laptop. Next, email the .vcf file to myself as an attachment.
Open my email app on my Pixel/GrapheneOS phone and download/save the attached .vcf file. Of course, backup anything you need to keep first. Delete all my previous contacts on the phone by
Settings > Apps > See all > (three dots) Show system > Contacts Storage > Storage and cache > Clear Storage
Then in the Contacts app, import the .vcf file and all my contacts are available.