Using assets in Smart Contracts

You can if you are using stateful smart contracts: Overview - Algorand Developer Portal