The Central African Republic legalized Bitcoin as legal tender back in 2022, If I'm not mistaken. So currently, some other African countries may not have specific regulations around using and accepting Bitcoin, but it doesn't appear to be illegal. Typically if there are legal gaps where Bitcoin is not officially regulated that means it falls into a gray area, but I'd argue that with no explicit bans in place, Bitcoin use remains completely legal.
Central Africa Republic made the announcement to make Bitcoin a legal tender but lack the balls to forge ahead and it backed out after one year. So currently El Salvador is the only bitcoin nation in the world.
Central African Republic - Why the legal tender experiment failed.Also, speaking of ban, Bitcoin/cryptocurrency is outrightly banned in Tunisia, Algeria, Morocco and Egypt.
Cryptocurrency legal status by country.