@Crown has said everything that needed to be said.
What you said is possible in theory, but requires knowledge and experience in practice.
Instead of doing this from scratch, there are people in some forums who try to convert the gift cards they have received into cash at a fraction of the cost, you can contact them.(Not a recommendation, just a suggestion)