For sufficiently vague definitions of "god", I might agree.
Science has this one blind spot: It cannot conceive of, nor test, any question of "Why?" as regards a first principle.
So, you can say "God is the reason that all objects with mass expert an attractive force on all other objects...