Rim lighting (?)

Is there any way to achieve this effect, where light slightly bleeds into the edges of walls, possible without placing some other object inside of the wall? is such effect possible to achieve with only one object?