Yes you can. To partially close a position, you simply place an order in the opposite direction but for a reduced amount (stake).
You can fully close the any position, either by using the ‘close function in the “open bets” summary, or by placing a new, equal and opposite trade.