Definitely not! If you want to declare a loss then you have to wait 30 days before buying again the same stock.