By your logic anything on this earth that you can do including homicide, terrorism, theft, trespassing, intimidation, violence, vandalism, and racism is all completely fine because it's part of God's plan. Being able to do something or legally be able to do something does not mean it's not a sin.