Yes, you can edit or cancel your orders at any time during the trading window, right up until they are matched.
Please note that changes aren’t guaranteed. If your edit or cancellation occurs at the same time your order is matched, the transaction may still process before the update is applied.