Let's imagine that you used a Star Trek type transporter to make a big rock suddenly appear in space. Then yes certainly this would warp the space-time surrounding the Rock and gravity would occur and spread at the speed of light across space. But of course as others have said above, not quite possible yet and it would take a heck of a lot of energy to make that matter appear in empty space.