Ricotta is the signature ingredient in cannoli, so I don't recommend trying to replace it. If you can't find mascarpone, full-fat cream cheese (in brick form, not in the tub) can be used instead.