Yes, if you have enough usable equity and can afford the new lending.
Equity can sometimes be used as the deposit and costs for an investment property. The loan structure is important, especially when considering tax, risk, cash flow and future flexibility.