Within the same account: yes. You can hold a long and a short position on the same market in one account.
Across accounts: no. You may not hold opposite positions:
across two or more of your own accounts,
together with another trader, or
against a position at another prop firm or exchange.
These setups make one account fail so that another can pass or get paid.
