Yes, it is allowed once you have completed the required Minimum Occupation Period (MOP). If it is a typical BTO flat (excluding Prime Location Public Housing), the MOP is five years from the date you collect the keys. If it is a Prime Location Public Housing flat, the MOP is ten years. After you meet that timeframe, you can sell the flat in the open market.