Foam rolling is the use of a cylindrical or round object to apply pressure to a specific muscle. In recent years, it has grown in popularity due to its ability to be self administered. It makes sense that rolling out a muscle would increase ROM in associated joints and many studies have proven its ability to increase ankle, knee, and hip Range of Motion (ROM). The following study instead reviewed the ability of foam rolling the hamstring to increase shoulder range of motion, almost as far away as major muscle groups can be.

Shoulder flexion testing showed an increase in 9° immediately following foam rolling. The angle of range decreased as time went on with no significant difference to the baseline test at 20 minutes post rolling. The averaged results of the testing can be seen in Figure 5.
Shoulder extension testing showed an increase in 10° immediately after foam rolling. Unlike the flexion test, the extension test showed increase ROM for 20 minutes after foam rolling compared to the baseline. The average results of the extension testing can be seen in Figure 6.

Check out This Article on the basics of foam rolling and This Video going over six different foam rolling movements you can do pre and post workout!
References
https://journals.lww.com/nsca-jscr/pages/articleviewer.aspx?year=2019&issue=04000&article=00010&type=Abstract&sessionEnd=true