In most cases, yes—or at least show clear intent. You can:
Incorporate a company in Portugal, or
Present a detailed business plan with proof of financial means
Having a registered company often strengthens your D2 visa application by demonstrating
commitment and operational readiness.