Yes, you can thank God in your acknowledgment but make sure to follow academic convention. You should also thank your family, colleagues, and friends who helped you.