It is possible to trade stocks in pre-market and aftermarket, but it depends on the particular instrument and the selected stock exchange.
Please note that liquidity can be very low during these hours and orders can be filled at unattractive prices.