Gana Dosha and bhakoot dosha are important factors in kundli matching, but they are not always marriage breakers. Gana Dosha affects temperament compatibility, while Bhakoot Dosha relates to emotional bonding and prosperity. 6-8 Bhakoot should never be taken lightly, as it impacts health. 5-9 bhakoot and 2-12 bhakoot brings poverty after marriage and also children related problems. That is why every good astrologer will check for Bhakkot dosha cancellation.
However, If other aspects like Nadi, Yoni, and especially the 7th house compatibility are strong. 7th house is no under any affliction, then these doshas can be ignored under some conditions. Astrology Remedies also exist, such as pujas and charitable acts. So yes, you can marry, provided the overall chart match is strong and guidance from a skilled astrologer confirms it.