Yes.  Taking steroids can shut down a man’s natural production of hormones which are necessary for sperm production.  In some men, this may have a long term impact on their sperm production even after steroid use is stopped.