Yes, drywall can be used as a replacement for Sheetrock. In fact, Sheetrock is actually a brand name for a type of drywall that was introduced by the US Gypsum Company. Drywall is a generic term used to describe panels made of gypsum plaster pressed between two thick sheets of paper. It is widely used in construction for creating interior walls and ceilings.
While Sheetrock is a popular brand of drywall, there are other manufacturers that produce similar products under different names. So, if you're referring to Sheetrock specifically, you can use any other brand of drywall as a substitute. Just make sure that the dimensions, thickness, and quality of the replacement drywall are appropriate for your specific project.