The answer is yes
The primary reason the supply curve slopes upward is because of potential for profit. Essentially, the supply curve illustrates how much a firm is willing to sell or supply, based strictly on firms in perfect competition. If a firm is in perfect competition, it will follow equilibrium principles and will be taking simple, economic steps towards making a profit.