If you really want to put it in.
First of all, try to remove the bark that is easy to fall off the surface.
Then honestly take it to bask in the sun. Make sure it is dry. Be sure to disinfect it before putting it in the fish tank.
Generally, dead wood is acidic and charcoal is alkaline.
I don't know what fish is suitable for you to feed.