Is it possible to remove microg from e os and install gapps

I tried this some months before but I failed.Can someone explain how to do this if possible.