Can the cost of minting an NFT count towards capital loss?

According to this Cointracker article, gas fees can be used to offset capital gains. Is this also true for NFT minting costs (solely focused on creation)?