Yes, you can use an extension cord with a submersible pump. However, there are a few things to keep in mind. First, the extension cord must be rated for outdoor use and be able to handle the amperage of the pump. Second, the cord should be as short as possible to minimize voltage drop. Finally, make sure that the connection between the extension cord and the pump is watertight.