Although the taste won’t be exactly the same, you can definitely use canned tomatoes to substitute when fresh ones are unavailable.