Yes you can do so, but whatever method of accounting you are following from beginning of year, you can't change it during the year and also you need to satisfy the tax authorities regarding a particular accounting method and also if there's a change in the method.