No, according to Scripture, nothing good comes from sin. Sin is always destructive. It separates us from God (Isaiah 59:2), brings death (Romans 6:23), and corrupts everything it touches (James 1:14-15). The idea that something good can come from sin is a lie that has existed since the Garden of Eden, when the serpent told Eve that eating the forbidden fruit would open her eyes and make her wise (Genesis 3:4-5). That so-called “good” brought the curse of death upon all mankind (Romans 5:12).
Even if God in His sovereignty brings good despite sin, that does not mean the sin itself was good. For example, Joseph's brothers sinned when they sold him into slavery, but God used it for His purpose to save many lives (Genesis 50:20). That does not make their sin right or beneficial. Paul addressed this false thinking directly when he said, “And not rather, (as we be slanderously reported, and as some affirm that we say,) Let us do evil, that good may come? whose damnation is just” (Romans 3:8). In other words, the idea that evil can be justified because of a good outcome is condemned in the Bible.
Sin is rebellion against God, and God is holy. Nothing unclean can dwell in His presence (Habakkuk 1:13). The only thing sin brings is death, judgment, sorrow, and separation unless a person repents and turns to Jesus Christ for forgiveness and cleansing (1 John 1:9). So no, nothing good ever comes from sin itself.