If you mean to use coral in the tank itself, as a decoration...this is not a good idea. Beyond the pH/hardness issue, coral will likely present danger to freshwater fish who are not used to it and can be injured.
Even scoria lava rock can be a little dangerous to your fish. I notice tiny little scrapes on them quite often in the tanks where I have it. Nothing dangerous, but still....it has caused me to remove a good amount of it.