Yes, it's safe.

Miracle Grow even has some especially for tomatoes.

I haven't figured out why, though, because tomatoes are so hardy that they'll grow anywhere. Maybe if they're in a pot where the soil nutrients are limited?
__________________
Psalm 119:105 Thy word is a lamp unto my feet, and a light unto my path.