Use 105 crankset on 9x2 Sora equipped bike
A 2018 bike with have an R3000 Sora 9 speed groupset.  The problem here is that you have a 9 speed chain that probably won't shift well on an 11 speed crank. 

As 10 and 11 (and now 12) speed systems were created, the cassette sprockets needed to be more closely spaced, which required the outside width of chains to be decreased. The distance between crank chainrings was also decreased to accommodate the narrow chains. The 105 crank will have the wrong spacing for the wider 9 speed chain.

A safer option would be to upgrade to a external bearing Hollowtech bottom bracket and a 2-piece Sora crank, or an equivalent 9 speed crank and BB from another brand such as FSA.