Yes, you can take advantage of indexation because your debt funds were purchased before 1 April,2023. The amendment in the Finance bill, will apply to investments which are made in debts funds on or after 1 April 2023.