certainly in the beginning you can do anything like this that helps you not eat. Getting calories away from you and stopping mindless eating are the initial goals.
As you progress, and start looking for ways to become more adept and fine tune things, you may discover that eliminating sweet things more often is in your best interest.