Sure, you just wrap the variable name with curly braces:
$sql="insert into table (value1) values ('value_{$value}');
But on this stage of learning you should learn and get used to PDO prepared statements to avoid the risk of mysql injections.
solved how to include php variable in mysqli statement [closed]