Could there then be some particle that would interact electromagnetically, but not via gravity? And should we not be able to observe this?
but obviously, this is a concept from general relativity which is currently not compatible with quantum field theory at all. for the purposes of QFT every particle exists within some magical separate space where all those considerations are ignored because nobody really knows how to incorporate them without breaking predictions.