Maybe not:
You need to have a "Legal Basis" and only 1 of them is the "subject has given consent" one.
There's another:
"The processing is
NECESSARY FOR THE PERFORMANCE OF A CONTRACT
to which the data subject is a party or in order to take steps at the request of the data subject prior to entering into a contract;"